SRCS := $(wildcard *.c)
OJBS := $(patsubst %.c,%.o,$(SRCS))
OUTS := $(patsubst %.c,%,$(SRCS))
CC := gcc
COM_OP := -Wall -g -O0 -lpthread
.PHONY: clean rebuild all

all: $(OUTS)
% : %.c
	$(CC) $^ -o $@ $(COM_OP)

clean:
	$(RM) $(OUTS)

rebuild: clean all
	
